package cn.wolfcode.mapper;

import cn.wolfcode.domain.Teacher;
import org.apache.ibatis.annotations.Param;

public interface TeacherMapper {

    void save(Teacher teacher);

    void insertRelation(@Param("teacherId") Long teacherId, @Param("studentId") Long studentId);

    Teacher get(Long id);

}
